package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.AuditPublicInfo;
import com.leadingsoft.pwxk.repository.AuditPublicInfoRepository;
import com.leadingsoft.pwxk.services.AbstractService;

/**
 * 
 * @author ysh
 * @desc 审批信息-信息公开要求-服务类
 *
 */
@Service
public class AuditPublicInfoServiceImpl extends AbstractService<AuditPublicInfo>{
	@Autowired
	AuditPublicInfoRepository auditPublicInfoRepository;

	@Override
	public void saveAll(List<AuditPublicInfo> models) {
		auditPublicInfoRepository.saveAll(models);
	}

	@Override
	public void deleteAll() {
		auditPublicInfoRepository.deleteAll();
	}

	@Override
	public void save(AuditPublicInfo model) {
		auditPublicInfoRepository.save(model);
	}

}
